<div id="main" >

    <!-- Products list -->
    <div class="page-maincontent">
        <{if $screen.search_cat && count($screen.search_cat)>1}>
        <div class="related-search clearfix">
            <label class="related-search-label"><{t}>搜索结果分类：<{/t}></label>
      <span class="related-search-content">
        <{foreach from=$screen.search_cat item=row}>
        <{if $smarty.foreach.name.iteration > 10}> <{break}> <{/if}>
        <a target="view_frame" href="<{link app=b2c ctl=site_gallery act=index arg0=$row.cat_id}>?<{if $filter.virtual_cat_id}>virtual_cat_id=<{$filter.virtual_cat_id}><{/if}><{if $filter.search_keywords.0}>scontent=n,<{$filter.search_keywords.0}><{/if}>"<{if $row.cat_id == $show_cat_id}> class="active"<{/if}>><{$row.cat_name}></a>
          <{/foreach}>
      </span>
        </div>
        <{/if}>
        <!-- Items sortbar -->
        <div id="gallery_sortbar" class="gallery-sortbar clearfix">
            <div class="gallery-sort">
                <a href="javascript:void(0);" class="action-sort <{if !$orderby_sql}>active<{/if}>" ><em><{t}>По умолчанию<{/t}></em></a>
                <a href="javascript:void(0);" class="action-sort <{if $orderby_sql == 'last_modify desc'}> active<{/if}>" data-sort="last_modify desc"><em><{t}>По новизне<{/t}></em></a>
                <a href="javascript:void(0);" class="action-sort <{if $orderby_sql == 'buy_w_count desc'}> active<{/if}>" data-sort="buy_w_count desc"><em><{t}>По продаже<{/t}></em></a>
                <a id="paixu" href="javascript:void(0);" <{if $orderby_sql == 's_price desc' || $orderby_sql == 's_price asc'}>class="action-sort <{$orderby_sql|replace:' ':'-'}> active" data-sort="<{$orderby_sql}>"<{else}> class="action-sort price-desc" data-sort="s_price desc"<{/if}>><em><{t}>价格<{/t}><span style="margin-top: -2px;"  class="icon desc">&#x2a;</span><span style="margin-top: -2px;" class="icon asc">&#x2b;</span></em></a>

                <label for="" style="display:none;"><{t}>排序：<{/t}></label><select name="orderBy" id="" class="action-orderby" style="display:none;">
                <{foreach from=$screen.orderBy item=orderBy}>
                <option value="<{$orderBy.sql}>" <{if $orderBy.sql == $orderby_sql}>selected<{/if}>><{$orderBy.label}></option>
                <{/foreach}>
            </select>
            </div>
            <div class="gallery-showmode">
                <input type="hidden" name="showtype" value="<{$showtype}>">
                <a href="javascript:void(0);" class="grid-show action-showmode <{if $showtype == 'grid'}>active<{/if}>" data-show-type="grid"><span  class="iconfont">&#xe615;</span></a>
                <a href="javascript:void(0);" class="list-show action-showmode <{if $showtype == 'list'}>active<{/if}>" data-show-type="list"><span class="iconfont">&#xe61b;</span></a>
                <{if $env.conf.b2c.gallery.display.stock_goods == 'true'}>
                <{/if}>
            </div>

            <div class="mini-pageview">
                <span class="page-count"><span class="page-current"><{$page}></span>/<span class="page-total"><{$pagetotal}></span></span>
                <span class="page-action"><a href="javascript:void(0);" class="flip prev<{if $page==1}> over<{/if}>"><span class="glyphicon glyphicon-chevron-left"></span></a><a href="javascript:void(0);" class="flip next<{if $pagetotal==1}> over<{/if}>"><span class="glyphicon glyphicon-chevron-right"></span></a></span>
            </div>
        </div>

        <div id="gallery_show" class="gallery-show">
            <{if $goodsData}>
            <{if $showtype == 'grid'}>
            <{include file='site/gallery/type/grid.html'}>
            <{else}>
            <{include file='site/gallery/type/list.html'}>
            <{/if}>
            <{else}>
            <{$env.conf.site.errorpage.search}>
            <{/if}>
        </div>
        <div id="product_notify" class="product-notify" style="display:none;">
            <p class="desc"><{t}>该货品暂时缺货，请在下面输入您的邮箱地址或手机号码，当我们有现货供应时，我们会发送邮件通知您！<{/t}></p>
            <form class="form" method="post" action="<{link app=b2c ctl=site_product act=toNotify}>">
                <input type="hidden" name="item[0][goods_id]" value="">
                <input type="hidden" name="item[0][product_id]" value="">
                <ul>
                    <li class="form-item">
                        <label for="email" class="form-label"><{t}>邮箱地址<{/t}><{t}>：<{/t}></label>
            <span class="form-act">
              <{input type="text" name="email" id="" size="30" vtype="required&&email"}>
            </span>
                    </li>
                    <li class="form-item">
                        <label for="cellphone" class="form-label"><{t}>手机号码<{/t}><{t}>：<{/t}></label>
                        <!--<span class="form-act">
                          <{input type="text" name="cellphone" id="" size="30" vtype="required"}>
                        </span>-->
                        <{if $phones}>
                        <!--Phones check-->
                        <select name="phone_setting" id="quhao" style="border: 1px solid #ccc;padding:2px;">
                            <{foreach from=$phones item=items}>
                            <option sid="<{$items.length}>" value="<{$items.area}>"><{$items.country}><{$items.area}></option>
                            <{/foreach}>
                        </select>
                        <{input type="text" name="cellphone" id="" size="30" vtype="required"}>
                        <{else}>
            <span class="form-act">
                <{input type="text" name="cellphone" id="" size="30" vtype="required"}>
            </span>
                        <{/if}>
                    </li>
                    <li class="form-item form-item-last">
                        <label class="form-label"></label>
            <span class="form-act">
              <{button type="submit" class="btn-caution" label=$___b2c="提交"|t:'b2c' rel="_request"}>
            </span>
                    </li>
                </ul>
            </form>
        </div>
		 <{if $screen.cat_id}>
		 <div data-retailrocket-markup-block="57dfb2d49872e51fcc9c453e" data-category-id="<{$screen.cat_id}>"></div>
		 <{/if}>	
        <div class="category-text">
            <{$category.text}>
        </div>
		
		<{if $category.related}>
			<div class="related-links">
				<div class="related-links-title">Еще больше обуви</div>
				<{foreach from=$category.related key=related_key item=related_val}>
					<{if $related_val.static}>
						<a href="/<{$related_val.static}>"><{$related_val.virtual_cat_name}></a>
					<{else}>
						<a href="<{$related_val.url}>"><{$related_val.virtual_cat_name}></a>
					<{/if}>
				 <{/foreach}>	
			</div>
		<{/if}>
		
    </div>

    <!-- Items compare (fixed) -->
    <div id="gallery_compare" class="gallery-compare">
        <div class="fold"><a href="javascript:void(0);" class="handle-expan action-unfold-compare"><i class="icon-compare"></i></a></div>

        <!--<{t}>展开<{/t}><{t}>商品对比<{/t}>-->
        <div class="unfold">
            <form action="<{link app=b2c ctl=site_gallery act=diff}>" method="post" target="_blank" async="false">
                <div class="header"><b><{t}>商品对比<{/t}></b> <span class="handle-collapse action-fold-compare small"><a href="javascript:void(0);"><{t}>收起<{/t}></a></span>
                </div>
                <div class="content">
                    <div class="none-compare">
                        <{t}>无对比商品<{/t}>&nbsp;<{t}>最多可对比<{/t}> <b>5</b>
                    </div>
                </div>
                <div class="footer hide"><button type="submit" class="btn btn-success btn-sm"><span><span><{t}>对　比<{/t}></span></span></button><a href="javascript:void(0);" class="action-clear-compare small"><{t}>清空<{/t}></a></div>
            </form>
        </div>
        <script type="text/plain" class="compare-template">
      <li class="compare-item clearfix">
        <input type="hidden" name="type_id" value="{type_id}">
        <input type="hidden" name="goods_id[]" value="{goods_id}">
        <div class="goods-pic"><img class="action-goods-img" src="{img}" alt="{name}"></div>
        <div class="goods-intro">
          <div class="goods-name"><b>{name}</b></div>
          <div class="goods-price">{price}</div>
          <a href="javascript:void(0);" class="action-del-compare btn btn-sm btn-danger">x</a> <!--<{t}>删除<{/t}>-->
        </div>
      </li>
    </script>
        <script type="text/plain" class="none-template">
      <div class="none-compare">
        <{t}>无对比商品<{/t}>&nbsp;<{t}>最多可对比<{/t}> <b>5</b>
      </div>
    </script>
    </div>
    <!-- /Items compare (fixed) -->
          <div class="gallery-fast-menu hidden-xs">
               <div class="gallery-fast-menu-el">
                  <a href="/cart.html"><span class="iconfont gouwuche1" style="font-size:22px;">&#xe607;</span><div class="gallery-fast-menu-text">Корзина</div></a>
                  <a href="/member-favorite.html"><span class="iconfont xin">&#xe60d;</span><div class="gallery-fast-menu-text">Отложенное</div></a>
                  <a href="/contacts.html"><span class="iconfont">&#xe608;</span><div class="gallery-fast-menu-text">Контакты</div></a>
                 <a href="/member.html"><span class="iconfont">&#xe60e;</span><div class="gallery-fast-menu-text">Моя КИФА</div></a>
                <a href="/member-inbox.html"><span class="iconfont">&#xe60b;</span><div class="gallery-fast-menu-text">Сообщения</div></a>
              </div>
          </div>
</div>

<{assign var='imageset' value=$env.conf.image.image.set}>



<script type="text/javascript">
    (window["rrApiOnReady"] = window["rrApiOnReady"] || []).push(function() {
  try { rrApi.categoryView(<{$screen.cat_id}>); } catch(e) {}
 })
</script>

